#ifndef MATA_H
#define MATA_H

#include <QWidget>
#include <QMessageBox>
namespace Ui {
class mata;
}

class mata : public QWidget
{
    Q_OBJECT
    int last=0;
    int i;
    int j;
    int d[36];
    int xx=0,yy=0;

public:
    explicit mata(QWidget *parent = nullptr);
    ~mata();




public slots:
       void on_pushButtonreb_clicked();

protected:
        void mousePressEvent(QMouseEvent *event) override;



private:
    Ui::mata *ui;
};

#endif // MATA_H
